package com.ruoyi.loan.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.sql.Timestamp;

/**
 * 诚信记录对象 t_belief_record
 * 
 * @author 银磊
 * @date 2022-04-04
 */
@TableName(value = "t_belief_record")
@Data
public class BeliefRecord
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 贷款申请id */
    @Excel(name = "贷款申请id")
    private Integer loanId;

    @TableField(fill = FieldFill.INSERT)
    Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    Timestamp updateTime;

}
